userCanAuthor($User)) { $AddCollectionLink = str_replace('$ID', "NEW", $CSchema->editPage()); $AddCollectionLink .= "&SC=".$CollectionSchemaId; } $AF = ApplicationFramework::getInstance(); # ----- DISPLAY -------------------------------------------------------------- PageTitle("List Collections"); if (isset($AddCollectionLink)) { ?> "> New

# Collections

$Collection) { # ----- SETUP (LOOP) --------------------------------------------- # retrieve basic collection info $Name = htmlspecialchars($Collection->get("Name")); $Description = htmlspecialchars($Collection->get("Description")); $Size = $Collection->getSize(); $Icons = $Collection->get("Icon", true); $Icon = (count($Icons) > 0) ? array_pop($Icons) : null; # build collection-related links $EditLink = str_replace('$ID', $CollectionId, $CSchema->editPage()); $LinkOpenTag = ""; # ----- DISPLAY (LOOP) ------------------------------------------- # begin tile ?>
">

###

##

userCanEdit($User)) { ?>
"> Edit